remove duplicates from array in java using for loop

join shbcf.ru